﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using ClipperHouse.jQuery.Base;

namespace ClipperHouse.jQuery
{
	public class Text : JQuery
	{
		private const string valueParamName = "Value";

		public Text()
		{
			this.Params.Clear();
			Params[valueParamName] = String.Empty;
			this.IsCallbackEnabled = false;
			this.CallbackScript = null;
		}

		public override string jQueryMethodName
		{
			get { return "text"; }
		}

		public string Value
		{
			get
			{
				return Params[valueParamName];
			}
			set
			{
				Params[valueParamName] = value;
			}
		}
	}
}
